import Vue from 'vue'
let routes = [
  {
    path: '/login',
    name: '登录页',
    component: resolve => require(['@/components/login/login'], resolve)
  },
  {
    path: '/apps',
    name: '项目页',
    component: resolve => require(['@/components/mainpages/apps'], resolve)
  },
  {
    path: '/config',
    name: '数据页',
    component: resolve => require(['@/components/mainpages/configs/configProject'], resolve)
  },
  //---------导航栏路由路径-----------------
  // {
  //   path: '/manage_system/',
  //   name: '系统管理',
  //   icon: "el-icon-menu",
  //   component: resolve => require(['@/components/mainpage/CompanyHome'], resolve),
  //   root: true,
  //   children: [{
  //     path: '/manage_system/sys_role',
  //     name: '角色管理',
  //     icon: "el-icon-menu",
  //     component: resolve => require(['@/components/mainpage/Commons/system/sys_role'], resolve),
  //   },{
  //     path: '/manage_system/sys_user',
  //     name: '用户管理',
  //     icon: "el-icon-location",
  //     component: resolve => require(['@/components/mainpage/Commons/system/sys_user'], resolve),
  //   }]
  // },
  //---------不进入菜单的组件-----------------
  // {
  //   path: '/404',
  //   name: '404',
  //   component: resolve => require(['@/components/mainpage/Commons/notFound'], resolve),
  // }
]

export default routes